package com.cn.kabalifeuser.ui.integral.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.cn.kabalifeuser.R;
import com.cn.kabalifeuser.ui.integral.bean.TypeListBean;
import com.cn.kabalifeuser.utils.GlideUtil;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/11.
 * function:
 */
public class TypeRightAdapter extends BaseQuickAdapter<TypeListBean.SubsetBean, BaseViewHolder> {

    public TypeRightAdapter(int layoutResId, @Nullable List<TypeListBean.SubsetBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, final TypeListBean.SubsetBean item) {
        helper.setText(R.id.tv_name, item.getName());
//        GlideUtil.ImageLoad(this.mContext, "", helper.getView(R.id.thumb));
    }


}
